﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FirstForm
{
    public class Item
    {
        public Item (string name, int cost, int i, int s, int h, int d, int w, int a, int dam, int def, int we)
        {
            this.Name = name;
            this.Price = cost;
            this.IntBoost = i;
            this.StrBoost = s;
            this.HrdBoost = h;
            this.DexBoost = d;
            this.WILBoost = w;
            this.AprBoost = a;
            this.Damage = dam;
            this.Defense = def;
            this.Weight = we;
              
        }

        public override string ToString()
        {
            return this.Name;
        }

        public string Name { get; set; }

        public int Price { get; set; }

        public int IntBoost { get; set; }
        public int StrBoost { get; set; }
        public int HrdBoost { get; set; }
        public int DexBoost { get; set; }
        public int WILBoost { get; set; }
        public int AprBoost { get; set; }

        public int Damage { get; set; }

        public int Defense { get; set; }

        public int Weight { get; set; }             // for the armor penalty in Player

        public static Item[] Trinkets =
        {
            //                           c, i, s, h,dx, w, a,dm,def, weight for AP
            new Item("table hoof",      10, 0, 0, 1, 0, 0, 0, 0, 2, 0),
            new Item("frying pan",      50, 0, 0, 0, 0, 0, 0, 8, 0, 0),
            new Item("vial of glitter", 20, 0, 0, 0, 0, 1, 1, 0, 0, 0),
            new Item("spoon",           15, 0, 0, 0, 0, 0, 0, 3, 0, 0),
            new Item("bark shield",    100, 0, 0, 0, 0, 0, 0, 0,10, 3),
            new Item("blue jewel",      80, 1, 0, 0, 0, 1, 0, 0, 0, 0),
            new Item("helm of Crockery",50, 0, 0, 0, 0, 0,-1, 0, 4, 0),
            new Item("shadow cloak",   150, 0, 0, 0, 1, 1, 3, 0,20, 0),
            new Item("Zane's Shoes",   300, 0, 0, 0, 1, 1, 1, 0, 4, 0),
            new Item("gargoyle skull", 200, 0, 0, 2, 0, 1, 4, 0, 6, 1),
        };
    }
}
